import 'package:flutter/material.dart';
import 'package:shopflutter/service/ServiceMethod.dart';

///热加载,首页底部自动加载商品
class HotGoods extends StatefulWidget {
  @override
  _HotGoodsState createState() => _HotGoodsState();
}

class _HotGoodsState extends State<HotGoods> {
  @override
  void initState() {
    super.initState();
    //调用接口
    request('homePageBelowConten', fromData: 1).then((val) {
      print(val);
    });
  }

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}
